<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>修改用户</title>
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div style="width:600px;height:100%;margin-left:270px;">
  <form method="post" th:action="@{/update}">
    <input name="_method" type="hidden" value="put">
    ID：<input class="form-control"  type="text" th:value="${users.id}" name="id"><br>
    用户名：<input class="form-control" type="text" th:value="${users.username}" name="username"><br>
    密 码：<input class="form-control" type="text" th:value="${users.password}" name="password"><br>
    余额：<input class="form-control" type="number" th:value="${users.blance}" min="0" max="999999" name="blance"><br>
    <button class="btn btn-primary btn-lg btn-block" type="submit">提交</button>
  </form>
</div>

</body>
</html>

